<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<form id="pagerForm" action="originLockUp">
	<div id="chedkBoxValues" style="display: none"></div>
	<input type="hidden" name="status" value="${param.status}"> 
	<input type="hidden" name="keywords" value="${param.keywords}" /> 
	<input type="hidden" name="pageNum" value="${page.currentPage }" /> 
	<input type="hidden" name="pageSize" value="${page.pageSize }" />
</form>

<div class="pageHeader">
	<form onsubmit="return dwzSearch(this, 'dialog');" action="originLockUp" method="post">
		<div class="pageHeader">
			<input type="hidden" name="init" value=0>
			<div class="searchBar">
				<table class="searchContent">
					<tr>
						<td>发货点名称: <input type="text" name="originName" />
						</td>
					</tr>
				</table>
				<div class="subBar">
					<ul>
						<li>
							<div class="buttonActive">
								<div class="buttonContent">
									<button type="submit">检索</button>
								</div>
							</div>
						</li>
					</ul>
				</div>
			</div>
		</div>
	</form>
</div>
<div class="pageContent">
	<table class="list" layoutH="118" targetType="dialog" width="100%">
		<thead>
			<tr>
				<th align="center">序号</th>
				<th align="center">发货点名称</th>
				<th align="center">负责人</th>
				<th align="center">电话</th>
				<th align="center">快递公司</th> 
				<th align="center">创建时间</th> 
				<th align="center">选择</th>
			</tr>
		</thead>
		<tbody>
			<s:iterator var="origin" value="page.data" status="st">
				<tr target="sid_support" rel="<s:property value="#origin.id" />">
					<th width="1%" align="center"><s:property value="page.pageSize * (page.currentPage-1) + #st.index + 1" />
					</th>
					<th width="5%" align="center"><s:property value="#origin.originName" />
					</th>
					<th width="5%" align="center"><s:property value="#origin.principalName" />
					</th>
					<th width="5%" align="center"><s:property value="#origin.telephone" />
					</th>
					<th width="5%" align="center"><s:property value="#origin.companyName" />
					</th>
					<th width="5%" align="center"><s:date name="#origin.createTime" format="yyyy-MM-dd HH:mm:ss"/>
					</th>
					<th width="5%" align="center"><a class="btnSelect" href="javascript:$.bringBack({originName:'<s:property value="#origin.originName" />',originId:'<s:property value="#origin.id" />'})" title="选择该发货点">选择</a>
					</th>
				</tr>
			</s:iterator>
		</tbody>
	</table>

	<div class="panelBar">
		<div class="pages">
			<span>共${page.totalNum }条，共${page.totalPage }页</span>
		</div>
		<div class="pagination" targetType="dialog" totalCount="${page.totalNum }" numPerPage="${page.pageSize }" pageNumShown="10" currentPage="${page.currentPage }"></div>
	</div>
</div>

